package com.jiuwan.gamepass.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.jiuwan.gamepass.pojo.Feedback;
import org.springframework.stereotype.Repository;

@Repository
public interface FeedbackDao extends BaseMapper<Feedback> {
    int deleteByPrimaryKey(String id);

    int insert(Feedback record);

    int insertSelective(Feedback record);

    Feedback selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(Feedback record);

    int updateByPrimaryKey(Feedback record);

    //根据appID查询
    Feedback selectByAppID(String appID);

    //根据appID删除
    int deleteByAppID(String appID);

    //根据appID更新
    int updateByAppID(Feedback feedback);
}